<%@page import="javax.portlet.ActionRequest"%>
<%@page import="javax.portlet.PortletURL"%>
<%@include file="/html/svn/init.jsp" %>
<%@page import="com.test.LibraryConstants" %>

<h1>ADD/EDIT FORM</h1>
<%
PortletURL updateBookURL=renderResponse.createActionURL();
updateBookURL.setParameter(ActionRequest.ACTION_NAME,LibraryConstants.ACTION_UPDATE_BOOK);


%>

<form name="<portlet:namespace/>fm" method="post" action="<%=updateBookURL.toString() %>">

BookTitle :

<input type="text" name='<portlet:namespace/>bookTitle'>
</br>
Author :

<input type="text" name='<portlet:namespace/>Author'></br>
<input type="submit" value="save">

</form>


<a href="<portlet:renderURL/>">&laquo; Go BACK</a>